﻿using B.S.DataBase.MyProject.Domain.BOM;
using System.ComponentModel.DataAnnotations;

namespace T.E.ERP.Read.API.Dtos.Dtos
{
    public class BomDTO
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int BId { get; set; }
        /// <summary>
        /// BOM编号
        /// </summary>
        public string BomCode { get; set; }
        /// <summary>
        /// 默认BOM
        /// </summary>
        public string DefaultBom { get; set; }
        /// <summary>
        /// 成品类型
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 日产量
        /// </summary>
        public int ProductionNum { get; set; }
        /// <summary>
        /// BOM主题
        /// </summary>
        public string BomTheme { get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string BomVersion { get; set; }
        /// <summary>
        /// 预估成本
        /// </summary>
        public string EstimatedCost { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int Inventory { get; set; }
        /// <summary>
        /// BOM配件
        /// </summary>
        public List<BomParts> BomParts { get; set; }
    }
}
